<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 5/8 0008
 * Time: 15:26
 */
namespace Home\Controller;
use Think\Controller;

class UserController extends Controller{
    public function  add(){
        $a=D('User');
        $a->name="luojie";
        $a->age="18";
        $a->sex="男";
        $a->add();
    }
<<<<<<< .mine
    public  function  ff(){
      $a=D('User');
      var_dump($a);
   }
||||||| .r10
=======
    public  function ff(){
        //$a=new \Home\Model\UserModel();
        $a=D(User);
        var_dump($a);
    }

>>>>>>> .r19
}